using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authorization;

namespace todoapi.Controllers;

[ApiController]
[Route("aspnet/account")]
public class AccountController : ControllerBase
{
    public static Account account = new Account() { name = "Jason", money = 100 };
    [HttpGet(Name = "GetAccount")]
    public Account Get()
    {
        return account;
    }
}
